<?php 
/**
 * Loader Class
 *
 */
class Loader {

	static public function load_Model($name){
		$file = CORE_MODEL.$name.EXT;
		return Core::getSingleton($file,$name);		
	}
	
	static public function load_View($name){
		$file = CORE_VIEW.$name.EXT;
		return Core::getSingleton($file,$name);
	}
	
	static public function load_Lib($name){	
		$file = CORE_LIB_PATH.$name.EXT;
		return Core::getSingleton($file,$name);
	}
	
	static public function load_Helper($name){
		$file = CORE_HELPER_PATH.$name.EXT;
		return Core::getSingleton($file,$name);		
	}
}